[%if count($array)>0%]
[%forlist from=$array key=i%]
<tr>
	<td class="text_eli f12"><span class="espcms_icon_fa espcms_icon_fa-caret-right text-blue"></span>[%$array[i].ordersn%]
		（[%if $array[i].ispay==0%]<span class="text-orange strong">[%pack:order_pack-espcms_order_ispay_0%]</span>[%/if%][%if $array[i].ispay==1%]<span class="text-green">[%pack:order_pack-espcms_order_ispay_1%]</span>[%/if%][%if $array[i].ispay==2%]<span class="text-danfei">[%pack:order_pack-espcms_order_ispay_2%]</span>[%/if%] - [%$array[i].addtime|espcms_timeformat(3)%]）</td>
	<td>
		<button type="button" class="btn btn-green btn-padding5 btn-xs espcms_tab_link" tab_icon="espcms_icon_fa espcms_icon_fa-file-text-o" tab_name="[%pack:order_pack-espcms_order_button_view%]（[%$array[i].ordersn%]）" tab_url="[%$array[i].view%]">[%pack:botton_pack-espcms_botton_view%]</button>
		[%if @this->power('editOrder') && $array[i].islock==0%]
		<button type="button" class="btn btn-orange btn-padding5 btn-xs espcms_tab_link" tab_icon="glyphicon glyphicon-edit" tab_name="[%pack:order_pack-espcms_order_button_edit%]" tab_close="false" tab_url="[%$array[i].edit%]">[%pack:botton_pack-espcms_botton_modify%]</button>
		[%/if%]
	</td>
</tr>
[%/forlist%]
[%else%]
<tr class="selecticon">
	<td class="text-center bort0" colspan="20">[%pack:public_pack-espcms_no_infomessage%]</td>
</tr>
[%/if%]